﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Coldairarrow.Entity.PB
{
    /// <summary>
    /// 回货卸车主表
    /// </summary>
    [Table("PB_UnloadBill")]
    public partial class PB_UnloadBill
    {

        /// <summary>
        /// 回货主表id
        /// </summary>
        [Key, Column(Order = 1)]
        public String Id { get; set; }

        /// <summary>
        /// 派车单
        /// </summary>
        public String BillID { get; set; }

        /// <summary>
        /// 卸车人id集合
        /// </summary>
        public String UnloadingUserId { get; set; }

        /// <summary>
        /// 卸车用户
        /// </summary>
        public String UnloadingUserName { get; set; }

        /// <summary>
        /// 卸车状态(0未卸车,1已卸车)
        /// </summary>
        public Int32? UnloadingState { get; set; }

        /// <summary>
        /// 卸车时间
        /// </summary>
        public DateTime? UnloadingTime { get; set; }

        /// <summary>
        /// 卸车重量
        /// </summary>
        public Double? UnloadingWeight { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 创建人id
        /// </summary>
        public String CreatorId { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public Boolean? Deleted { get; set; }
        /// <summary>
        /// 车牌号
        /// </summary>
        public string PlateNO { get; set; }
    }
}